package com.woniu.user.feign;

import com.woniu.common.entity.OrderInfo;
import com.woniu.common.entity.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author author
 * @create 2021/5/28
 */

@FeignClient("Immunological-mechanism")
public interface ImmuneFeign {

    @GetMapping("/immune/getdogbyuid")
    ResponseResult<List<OrderInfo>> getdogbyuid(@RequestParam("uid") Integer uid);

}
